.link {
  text-decoration: none;
  padding: 10px;
  display: inline-block;
  margin: 10px;
  transition: all .3s ease-in-out;
  border: 2px solid transparent;
}

.linkActive {
  border: 2px solid red;
  border-radius: 8px;
  transition: all .3s ease-in-out;
}